<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>授权页</title>
</head>
<body>
	<div class="container">
		<h2>Please Confirm</h2>

		<p>
			Do you authorize "[[${authorizationRequest.clientId}]]" at "[[${authorizationRequest.redirectUri}]]" to access your protected resources
			with scope [[${authorizationRequest.scope}]].
		</p>
		<form id='confirmationForm' name='confirmationForm' th:action="@{/oauth/authorize}" method='post'>
			<input name='user_oauth_approval' value='true' type='hidden'/>
			<label><input name='authorize' value='Authorize' type='submit'/></label>
		</form>
		<form id='denialForm' name='denialForm' th:action="@{/oauth/authorize}" method='post'>
			<input name='user_oauth_approval' value='false' type='hidden'/>
			<label><input name='deny' value='Deny' type='submit'/></label>
		</form>
	</div>
</body>
</html>
